﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace LowLevelGraphics
{
    /// <summary>
    /// 
    /// </summary>
    public class ColorRect
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ColorRect"/> class.
        /// </summary>
        /// <param name="_color">The _color.</param>
        /// <param name="_rect">The _rect.</param>
        public ColorRect(Color _color, Rectangle _rect)
        {
            this.m_Color = _color;
            this.m_Rectangle = _rect;
        }

        private Rectangle m_Rectangle;

        /// <summary>
        /// Gets or sets the rectangle.
        /// </summary>
        /// <value>The rectangle.</value>
        public Rectangle Rectangle
        {
            get { return m_Rectangle; }
            set { m_Rectangle = value; }
        }

        private Color m_Color;

        /// <summary>
        /// Gets or sets the color.
        /// </summary>
        /// <value>The color.</value>
        public Color Color
        {
            get { return m_Color; }
            set { m_Color = value; }
        }            
    }
}
